<script>
	// #ifdef APP-PLUS
	import APPUpdate from '@/uni_modules/zhouWei-APPUpdate/js_sdk/appUpdate';
	// #endif
	export default {
		onLaunch: function() {
			this.$store.dispatch('WEBSOCKET_INIT','ws://api.hadax.com/ws')
			this.$store.dispatch('CONTRACT_WEBSOCKET_INIT','wss://api.btcgateway.pro/linear-swap-ws')
			// console.log('App Launch')
			// #ifdef APP-PLUS
			APPUpdate();
			// #endif
		},
		onShow: function() {
			// console.log('App Show')
		},
		onHide: function() {
			// console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "uview-ui/index.scss";
</style>
